package cn.yuanqiao.activiti.aspect;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName: AuthService
 * @Description: 用于流程中的序列化类
 * @author: lihuahua
 * @date: 2023/11/7 14:42
 * @Blog: huahuacoco.top
 */


public class AuthService implements Serializable {

    private static final long serialVersionUID= 1L;

    /**
     * 流程中的领导角色变量，不可删除修改，只能新增
     */
    private List<String> deptLeader;

    private List<String> deptDagly;

    private List<String> archiveDeptLeader;

    private String startUser;

    public AuthService(){
    }

    public AuthService(List<String> leaderList,List<String> daglyList,List<String> archiveDeptList){
       this.deptLeader = leaderList;
       this.deptDagly = daglyList;
       this.archiveDeptLeader = archiveDeptList;
    }

    public AuthService(List<String> leaderList,List<String> daglyList,List<String> archiveDeptList,String startUser){
        this.deptLeader = leaderList;
        this.deptDagly = daglyList;
        this.archiveDeptLeader = archiveDeptList;
        this.startUser = startUser;
    }

    public List<String> deptLeader(){
        return this.deptLeader;
    }

    public List<String> deptDagly(){
        return this.deptDagly;
    }

    public List<String> archiveDeptLeader(){
        return this.archiveDeptLeader;
    }

    public String startUser(){
        return this.startUser;
    }


}
